import request from '@/utils/request'

export function loadAll(data) {
	return request({
		url: '/shop',
		method: 'post',
		data
	})
}
export function update(data) {
	return request({
		url: '/shop',
		method: 'put',
		data
	})
}
export function deleted(id) {
	return request({
		url: '/shop/'+id,
		method: 'delete',
	})
}
export function add(data) {
	return request({
		url: '/shop',
		method: 'put',
		data
	})
}
export function selAllEmp() {
	return request({
		url: '/shop/selAllEmp',
		method: 'get',
	})
}
